<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>H+移动工作平台 - 预算调整申请</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="stylesheet" href="../css/styles.css">
</head>
<body>
  <div class="device-container">
    <!-- 状态栏 -->
    <div class="status-bar">
      <div class="status-bar-left">
        <span class="time">9:41</span>
      </div>
      <div class="status-bar-right">
        <i class="fas fa-signal signal"></i>
        <i class="fas fa-wifi wifi"></i>
        <i class="fas fa-battery-full battery"></i>
      </div>
    </div>
    
    <!-- 导航栏 -->
    <div class="nav-bar">
      <div class="nav-left">
        <a href="budget.html"><i class="fas fa-arrow-left"></i></a>
      </div>
      <div class="nav-title">预算调整申请</div>
      <div class="nav-right">
        <i class="fas fa-question-circle"></i>
      </div>
    </div>
    
    <!-- 内容区域 -->
    <div class="app-content">
      <!-- 表单 -->
      <div class="p-4">
        <form>
          <!-- 基本信息 -->
          <div class="card mb-4">
            <div class="card-header">
              <span>基本信息</span>
            </div>
            <div class="card-body">
              <!-- 申请部门 -->
              <div class="form-group">
                <label class="form-label">申请部门</label>
                <div class="relative">
                  <select class="form-input">
                    <option>请选择部门</option>
                    <option>内科部门</option>
                    <option>外科部门</option>
                    <option>儿科部门</option>
                    <option>妇产科部门</option>
                    <option>急诊部门</option>
                  </select>
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-chevron-down text-gray-400 text-xs"></i>
                  </div>
                </div>
              </div>
              
              <!-- 预算年度 -->
              <div class="form-group">
                <label class="form-label">预算年度</label>
                <div class="relative">
                  <select class="form-input">
                    <option>请选择年度</option>
                    <option>2024年度</option>
                    <option>2025年度</option>
                  </select>
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-chevron-down text-gray-400 text-xs"></i>
                  </div>
                </div>
              </div>
              
              <!-- 预算类型 -->
              <div class="form-group">
                <label class="form-label">预算类型</label>
                <div class="relative">
                  <select class="form-input">
                    <option>请选择预算类型</option>
                    <option>设备采购</option>
                    <option>培训费用</option>
                    <option>办公用品</option>
                    <option>差旅费用</option>
                    <option>会议费用</option>
                    <option>其他费用</option>
                  </select>
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-chevron-down text-gray-400 text-xs"></i>
                  </div>
                </div>
              </div>
              
              <!-- 调整类型 -->
              <div class="form-group">
                <label class="form-label">调整类型</label>
                <div class="flex space-x-4">
                  <div class="flex items-center">
                    <input type="radio" id="increase" name="adjustment_type" class="mr-2">
                    <label for="increase">增加预算</label>
                  </div>
                  <div class="flex items-center">
                    <input type="radio" id="decrease" name="adjustment_type" class="mr-2">
                    <label for="decrease">减少预算</label>
                  </div>
                </div>
              </div>
              
              <!-- 调整金额 -->
              <div class="form-group">
                <label class="form-label">调整金额（元）</label>
                <div class="relative">
                  <input type="number" class="form-input" placeholder="请输入调整金额">
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-yen-sign text-gray-400"></i>
                  </div>
                </div>
              </div>
              
              <!-- 当前预算 -->
              <div class="form-group">
                <label class="form-label">当前预算（元）</label>
                <div class="p-3 bg-gray-100 rounded-lg text-gray-700">
                  <div class="flex justify-between">
                    <span>原预算金额：</span>
                    <span class="font-medium">¥200,000.00</span>
                  </div>
                  <div class="flex justify-between mt-2">
                    <span>已使用金额：</span>
                    <span class="font-medium">¥60,000.00</span>
                  </div>
                  <div class="flex justify-between mt-2">
                    <span>剩余金额：</span>
                    <span class="font-medium">¥140,000.00</span>
                  </div>
                </div>
              </div>
              
              <!-- 调整后预算 -->
              <div class="form-group">
                <label class="form-label">调整后预算（元）</label>
                <div class="p-3 bg-blue-50 rounded-lg text-blue-700">
                  <div class="flex justify-between">
                    <span>调整后预算：</span>
                    <span class="font-medium">¥230,000.00</span>
                  </div>
                  <div class="flex justify-between mt-2">
                    <span>已使用金额：</span>
                    <span class="font-medium">¥60,000.00</span>
                  </div>
                  <div class="flex justify-between mt-2">
                    <span>剩余金额：</span>
                    <span class="font-medium">¥170,000.00</span>
                  </div>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 调整原因 -->
          <div class="card mb-4">
            <div class="card-header">
              <span>调整原因</span>
            </div>
            <div class="card-body">
              <div class="form-group mb-0">
                <textarea class="form-input" rows="4" placeholder="请详细说明预算调整原因"></textarea>
              </div>
            </div>
          </div>
          
          <!-- 附件上传 -->
          <div class="card mb-4">
            <div class="card-header">
              <span>附件上传</span>
            </div>
            <div class="card-body">
              <div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center">
                <i class="fas fa-cloud-upload-alt text-3xl text-gray-400 mb-2"></i>
                <div class="text-sm text-gray-500 mb-2">点击上传或拖拽文件到此处</div>
                <div class="text-xs text-gray-400">支持PDF、Word、Excel等格式，单个文件不超过10MB</div>
                <input type="file" class="hidden" multiple>
              </div>
            </div>
          </div>
          
          <!-- 审批流程 -->
          <div class="card mb-4">
            <div class="card-header">
              <span>审批流程</span>
            </div>
            <div class="card-body p-0">
              <div class="p-3 border-b border-gray-100">
                <div class="flex items-center">
                  <div class="w-6 h-6 rounded-full bg-blue-500 flex items-center justify-center text-white text-xs">1</div>
                  <div class="ml-2">
                    <div class="font-medium">部门主管审批</div>
                    <div class="text-xs text-gray-500">张主任（内科主任）</div>
                  </div>
                </div>
              </div>
              <div class="p-3 border-b border-gray-100">
                <div class="flex items-center">
                  <div class="w-6 h-6 rounded-full bg-gray-300 flex items-center justify-center text-white text-xs">2</div>
                  <div class="ml-2">
                    <div class="font-medium">财务部审批</div>
                    <div class="text-xs text-gray-500">李经理（财务经理）</div>
                  </div>
                </div>
              </div>
              <div class="p-3">
                <div class="flex items-center">
                  <div class="w-6 h-6 rounded-full bg-gray-300 flex items-center justify-center text-white text-xs">3</div>
                  <div class="ml-2">
                    <div class="font-medium">院长办公室审批</div>
                    <div class="text-xs text-gray-500">王院长</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 提交按钮 -->
          <div class="flex space-x-4 mb-4">
            <button type="button" class="btn btn-outline flex-1">保存草稿</button>
            <button type="submit" class="btn btn-primary flex-1">提交申请</button>
          </div>
        </form>
      </div>
    </div>
  </div>
</body>
</html>